<!--<?php
require_once template('header'); 
print <<< EOT
<!--右边开始-->
<div id="right">
<form name="mvmmall" action="" method="post" enctype="multipart/form-data" onsubmit="javascript:return category()">
<input type="hidden" name="action" value="$action"/>
<input type="hidden" name="setp" value="1"/>
<input type="hidden" name="uid" value="$uid"/>
	<table cellpadding="0" cellspacing="1" class="list1">
		<tr>
			<th width="4%">ID</th>
			<th width="56%">商城分类添加</th>
			<th>$lang[operation]</th>
		</tr>
		<tr >
			<td>1</td>
			<td class="td_left1">上级分类<p class="cpsm">←顶级分类不用选择</p></td>
			<td>$cat_menu</td>
		</tr>
		<tr >
			<td>2</td>
			<td class="td_left1">分类名称</td>
			<td><input type="text" name="category_name" id="category_name" value="$category_name" size="45" maxLength="90" class="text" /></td>
		</tr>
		<tr >
			<td>3</td>
			<td class="td_left1">分类关键字<p class="cpsm">←最多255个字符</p></td>
			<td><textarea name="category_key" id="category_key" rows="2" cols="35" class="text">$category_key</textarea></td>
		</tr>
	   <tr >
			<td>3</td>
			<td class="td_left1">分类描述<p class="cpsm">←最多255个字符</p></td>
			<td><textarea name="category_desc" id="category_desc" rows="2" cols="35" class="text">$category_desc</textarea></td>
		</tr>
		<tr >
			<td>4</td>
			<td class="td_left1">分类模板选择<p class="cpsm">←可制作模板category*.html放入<strong>$mm_skin_name</strong>文件夹内</p></td>
			<td>$tpl_menu</td>
		</tr>
		<tr >
			<td>5</td>
			<td class="td_left1">输出顺序<p class="cpsm">←输出顺序里相同名次的分类将自动下降一位。(请用数字输入)</p></td>
			<td><input type="text" name="category_rank" id="category_rank" value="$category_rank" size="45" maxLength="10" class="text" /></td>
		</tr>
		<tr >
			<td>6</td>
			<td class="td_left1">查看权限</td>
			<td>
			$grant_menu
			</td>
		</tr>
		<tr >
			<td>7</td>
			<td class="td_left1">HTML选择<p class="cpsm">HTML 是否使用(钩选时为使用，否则为不使用)</p></td>
			<td><input type="checkbox" name="use_html" id="use_html" value="1" $use_html_y> HTML 使用</td>
		</tr>
		<tr >
			<td>8</td>
			<td class="td_left1">分类激活<p class="cpsm">(如在前台显示必须为激活，默认为激活)</p></td>
			<td><input type="checkbox" name="use_direct" id="use_direct" value="1" $use_direct_y /> 分类激活</td>
		</tr>
		<tr >
			<td>9</td>
			<td class="td_left1">顶部内容</td>
			<td><textarea name="category_head" id="category_head" rows="5" cols="35" class="text">$category_head</textarea></td>
		</tr>
		<tr >
			<td>10</td>
			<td class="td_left1">底部内容</td>
			<td><textarea name="category_foot" id="category_foot" rows="5" cols="35" class="text">$category_foot</textarea></td>
		</tr>
		<tr >
			<td>11</td>
			<td class="td_left1">管理员笔记</td>
			<td><textarea name="category_admin_memo" id="category_admin_memo" rows="5" cols="35" class="text">$category_admin_memo</textarea></td>
		</tr>
		<tr >
			<td>12</td>
			<td class="td_left1">分类图标<p class="cpsm">←大小请与SKIN设置匹配.</p></td>
			<td><input type="file" name="category_file1" id="category_file1"  size="30" class="text" /> <span id="r$uid">$cat_img</span></td>
		</tr>
	</table>
	<div id="tfoot">
	  	<input type="submit" name="Submit" value="&nbsp;$lang[submit]&nbsp;" onclick="" />
	  	<input type="reset" name="reset" value="&nbsp;$lang[reset]&nbsp;" />
	</div>
	</form>
</div>
<!-- end -->
<!--
EOT;
?>-->